Code Generation for Just-in-Time Compiled Mobile Collector Agents
نویسندگان
چکیده
This paper describes MGEN/x86, a toolkit that simplifies the process of creating dynamic code generators and just-in-time (JIT) compilers for the x86 series of processor. MGEN produces pattern-matching code generators based on a userdefined sequence of rules and semantic action associated with each rule. MGEN includes a number of useful and interesting features such as a table driven macro compiler and a rule based code generator-generator. The rule-based syntax permits patternmatching instruction selection with a small degree of intermediate representation (IR) operator look ahead against a compile time stack of states. Wildcards may be used to reduce the number of required rules for instruction selection and may assist in reducing the complexity associated with introducing new CPU states by providing a default action at each node. Final year computing students have successfully used the MGEN toolkit to produce syntactically complete just-in-time compilers. The purpose of this paper is to introduce the toolkit as a simple method of performing compilation of mobile collector agents.
منابع مشابه
A Comprehensive Context for Mobile-Code Deployment Final Project Report for UC Irvine
Given the acknowledged importance of mobile code, current mobilecode distribution models are surprisingly primitive. For example, Java’s model assumes that the constituent parts that make up a mobile program will all be downloaded to a single location, and then verified, linked, possibly dynamically compiled, and finally executed at that very location. This research project has made three impor...
متن کاملTo JIT or not to JIT: The Effect of Code Pitching on the Performance of .NET Framework
The .NET Compact Framework is designed to be a highperformance virtual machine for mobile and embedded devices that operate on Windows CE (version 4.1 and later). It achieves fast execution time by compiling methods dynamically instead of using interpretation. Once compiled, these methods are stored in a portion of the heap called code-cache and can be reused quickly to satisfy future method ca...
متن کاملGeneration Of Interpretive Compiled Instruction Set Simulators
pydgin A (Py)thon (D)SL for (G)enerating (In)struction set simulators. executable provides a trace-JIT to dynamically compile frequently interpreted hot title = (Pydgin: Generating Fast Instruction Set Simulators from Simple Architecture. the behavior of the instruction set simulator with less than 1000 lines of C code (12) R. Leupers, et. al, "Generation of interpretive and compiled instructio...
متن کاملThe Effects of Constant Touch on Consumer Behavior: The Case of Iranian Mobile Phone Users
The main objective of this paper is to argue how the mobile phones have transformed the Iranian lifestyle and how the arrival of mobiles has been a catalyst for revolting behavior, and has launched a new consumer behavior and has changed our relationships. The paper explains how the people's behavior has developed a whole new social code in Iran. It is argued that the social value of being able...
متن کاملToba: Java for Applications - A Way Ahead of Time (WAT) Compiler
Toba is a system for generating efficient standalone Java applications. Toba includes a Java-bytecode-to-C compiler, a garbage collector, a threads package, and Java API support. Toba-compiled Java applications execute 1.5–10 times faster than interpreted and Just-In-Time compiled applications.
متن کامل